package free.play.repository;

import free.play.entity.User;
import org.springframework.data.repository.PagingAndSortingRepository;

public interface UserRepository extends PagingAndSortingRepository<User, String> {

  User findByLoginName(String loginName);

  void deleteByLoginName(String loginName);

}
